<?php
/**
 * Albatross Home Media Streaming Server -- Copyright (c) 2003-2008 Still Designing, LLC
 * Author: David E. Still <dave@stilldesigning.com>
 * Licenced under the GNU General Public License, version 2
 * Name:			albatross.ini.php
 * Description:		Streams TiVo programs from the TiVo to a
 *					web browser or other web-enabled device
 *					or program through an intermediary server
 *					which reduces the size of the program
 *					stream, which enables the program to be
 *					viewed over slower network connections in
 *					real-time.
 * Created:			12/02/2003
 * 
 */ 

$typassword = "";
$controlpassword = "foo";

/**
 * Sources List
 * define where Albatross will find its video
 */
$tySourceList = array(
	"Movies"			=>	"videos/",
	"TiVo"				=>	"tivo://tivo/",
	"TiVo HMO"			=>	"hmo://tivo:1234567890@tivo2/"
);

/**
 * User Editable Settings
 */
$tyini = array(
	"testfile"			=>	"../test.ty",
	"stream_port"		=>	8090,
	"control_port"		=>	8091,
	/* logging */
	"use_logging"		=>	1,
	"log_file"			=>	"albatross.log",
	/* Support Program Paths */
	/* *NIX
	"vlc"				=>	"/usr/bin/vlc",
	"vstream-client"	=>	"/usr/bin/vstream-client",
	"tivodecode"		=>	"/usr/bin/tivodecode",
	"curl"				=>	"/usr/bin/curl",
	"kill"				=>	"/usr/bin/killall -9 vlc"
	*/

	/* Mac OS X */
	"vlc"				=>	"/Applications/VLC.app/Contents/MacOS/VLC",
	"vstream-client"	=>	"/sw/bin/vstream-client",
	"tivodecode"		=>	"/sw/bin/tivodecode",
	"curl"				=>	"/usr/bin/curl",
	"kill"				=>	"/usr/bin/killall -9 VLC"

	/* Windows
	"vlc"				=>	"c:\Program Files\VideoLAN\VLC\vlc.exe",
	"vstream-client"	=>	"c:\Program Files\albatross\vstream-client",
	"tivodecode"		=>	"c:\Program Files\albatross\tivodecode",
	"curl"				=>	"c:\Program Files\albatross\curl",
	"kill"				=>	""
	*/
);

/* Encoder Options */
$tyini_streamopts = array(
	"stream1"		=>	array(
		"title"			=>	"Low - 300k",
		"width"			=>	320,
		"height"		=>	240,
		"videobr"		=>	256,
		"audiobr"		=>	64
	),
	"stream2"		=>	array(
		"title"			=>	"Med - 800k",
		"width"			=>	640,
		"height"		=>	480,
		"videobr"		=>	700,
		"audiobr"		=>	128,
		"samplerate"	=>	44100,
		"format"		=>	"h264",
		"other"			=>	"deinterlace,vqmin=2,vqmax=31,vme=5"
	),
	"stream3"		=>	array(
		"title"			=>	"High - 1.5M",
		"width"			=>	640,
		"height"		=>	480,
		"videobr"		=>	1200,
		"audiobr"		=>	256,
		"other"			=>	"deinterlace,vqmin=2,vqmax=31,vme=5,mbd=1,subq=5,keyint=250"
	)
);

?>
